package com.cskaoyan.market.service.wx;

import com.cskaoyan.market.db.domain.MarketCategory;

import java.util.List;
import java.util.Map;

/**
 * @ClassName: GoodsService
 * @Auther: lyz
 * @Date: 2023/05/20/14:08
 * @Description:
 */
public interface WxGoodsService {
    Integer count();

  //  List<MarketGoods> goodList(Integer categoryId, Integer page, Integer limit);

  //  List<MarketCategory> categoryList(Integer categoryId, Integer page, Integer limit);

    List<MarketCategory> brotherCategory(Integer id);

    MarketCategory currentCategory(Integer id);

    MarketCategory parentCategory(Integer id);

  //  Map<String, Object> goodList(Integer categoryId, Integer page, Integer limit);

    Map<String, Object> goodList(String keyword, Integer categoryId, Integer page, Integer limit, String sort, String order, Integer userId, Integer brandId, boolean isNew, boolean isHot);

}
